package com.imu.purse.modules.base.service;

import java.util.List;

import com.imu.purse.modules.base.entity.Dict;

/**
 * 字典分组
 * @author sunhongwei
 * @email sunhongwei@jshijian.com
 * @date 2017-11-03 20:34:20
 * Copyright (c) 2017 武汉极时间科技有限公司 版权所有 
 * Jshijian aloha CO.,LTD. All Rights Reserved. 
 */
public interface DictService 
{
	/****
	 * 插入字典分组
	 * @param sysDict
 	 * @date 2017-11-03 20:34:20
	 * @return
	 */
    public int save(final Dict sysDict);
    
    /****
	 * 删除字典分组
	 * @param ids
 	 * @date 2017-11-03 20:34:20
	 * @return
	 */
    public boolean delete(final String ...ids);
    
    /****
	 * 修改字典分组
	 * @param sysDict
 	 * @date 2017-11-03 20:34:20
	 * @return
	 */
    public int update(final Dict sysDict);
    
     /****
	 * 插入或跟新字典分组
	 * @param sysDict
 	 * @date 2017-11-03 20:34:20
	 * @return
	 */
    public int saveUpdate(final Dict sysDict);
    
    /****
	 * 根据ID查询字典分组
	 * @param id
 	 * @date 2017-11-03 20:34:20
	 * @return
	 */
    public Dict findById(final Long id);
    
    /****
   	 * 分页查询字典分组
	 * @param sysDict
 	 * @date 2017-11-03 20:34:20
   	 * @return
   	 */
    public List<Dict> queryList(final Dict sysDict);
}
